Magnetically controlled capsule endoscopy